package com.qf.mapper.impl;

import com.qf.mapper.TestMapper;
import com.qf.pojo.Test;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class TestMapperImpl implements TestMapper {


    @Override
    public List<Test> findAll() {
        ArrayList<Test> tests = new ArrayList<>();
        tests.add(new Test(1, "zhnaan"));
        tests.add(new Test(2, "zhnaan2"));
        return tests;
    }
}
